package a01abstract.demo02;

public class Test {

    public static void main(String[] args) {
        Dog d = new Dog("hhh",20);
        System.out.println(d.getName()+" "+d.getAge());
        d.drink();
        d.eat();
    }
}
